<template>
   <div class="select">
    <el-button type="primary" @click="mannager()">管理员</el-button>
    <el-button type="success" @click="user()">用户</el-button>
   </div>
</template>
<script>
export default{
    methods:{
        mannager(){
            this.$router.push({ path:"/login"})
        },
        user(){
            this.$router.push({ path:"/userhome"})
        }
    }
}
</script>

<style lang="less" scoped>
.select{
    width:300px;
    height: 300px;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}
</style>
